package com.fbee.smartcommunities;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * ClassName: com.fbee.smartcommunities
 * Datetime: 2024/8/13 下午4:50
 * Description:
 *
 * @author 汪佳泉
 * @version 1.0
 * @since 1.0
 */
@SuppressWarnings("all")
@MapperScan("com.fbee.smartcommunities.mapper") // mapper包的扫描
@SpringBootApplication
@EnableCaching
@EnableTransactionManagement // 开启事务
public class MainApplication {
    public static void main(String[] args) {
        SpringApplication.run(MainApplication.class);
    }
}
